/*
 * @Description: 邀请页面appbar
 * @Author: iamsmiling
 * @Date: 2021-06-12 15:41:00
 * @LastEditTime: 2021-06-12 15:42:27
 */
import 'package:credit_business_circle/R/R.dart';
import 'package:flutter/material.dart';

class InvitationAppBar extends StatelessWidget {
  const InvitationAppBar({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      margin: EdgeInsets.only(top: kToolbarHeight),
      child: Stack(
        alignment: AlignmentDirectional.center,
        children: [
          Positioned(
            left: 0,
            child: BackButton(
              color: R.color.ffffffff,
            ),
          ),
          Container(
            width: R.dimen.width,
            alignment: Alignment.center,
            child: Text(
              "邀请好友",
              style: TextStyle(
                  color: R.color.ffffffff,
                  fontSize: R.dimen.sp16,
                  fontWeight: FontWeight.w600),
            ),
          )
        ],
      ),
    );
  }
}
